package blog.forms;

import java.util.ArrayList;

import org.apache.struts.action.ActionForm;

public class Blog extends ActionForm{

	private int id;
	private int userId;
	private String name = "";
	private String description = "";
	
	private ArrayList<Entry> entries;
	
	
	public ArrayList<Entry> getEntries() {
		if(entries == null)
			entries = new ArrayList<Entry>();
		return entries;
	}
	public void setEntries(ArrayList<Entry> entries) {
		this.entries = entries;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
}
